;
; Copyright (c) Microsoft Corporation.  All rights reserved.
;
;
; Use of this source code is subject to the terms of the Microsoft end-user
; license agreement (EULA) under which you licensed this SOFTWARE PRODUCT.
; If you did not accept the terms of the EULA, you are not authorized to use
; this source code. For a copy of the EULA, please see the LICENSE.RTF on your
; install media.
;
;-------------------------------------------------------------------------------
; 
; Copyright (C) 2004-2009, Freescale Semiconductor, Inc. All Rights Reserved.
; THIS SOURCE CODE, AND ITS USE AND DISTRIBUTION, IS SUBJECT TO THE TERMS
; AND CONDITIONS OF THE APPLICABLE LICENSE AGREEMENT 
; 
;-------------------------------------------------------------------------------

MODULES
;   Name            Path                                            Memory Type
;   --------------  ---------------------------------------------   ------------

;******************************************************************************
; Device Manager Begin
;******************************************************************************

; @CESYSGEN IF CE_MODULES_DEVICE

;------------------------------------------------------------------------------
; CSPDDK Driver
;
; @CESYSGEN IF CE_MODULES_CEDDK
IF BSP_NOCSPDDK !
    cspddk.dll      $(_FLATRELEASEDIR)\cspddk.dll                   NK  SHK
ENDIF ; BSP_NOCSPDDK !
; @CESYSGEN ENDIF CE_MODULES_CEDDK
;------------------------------------------------------------------------------

;------------------------------------------------------------------------------
; I2C Driver
;
#if (defined BSP_I2CBUS1 || defined BSP_I2CBUS2 || defined BSP_I2CBUS3)
    i2c.dll         $(_FLATRELEASEDIR)\i2c.dll                      NK  SHK
    i2csdk.dll      $(_FLATRELEASEDIR)\i2csdk.dll                   NK  SHQ
#endif
;------------------------------------------------------------------------------

;----------------------------------------------------------------------------
; ADC Driver
;
IF BSP_ADC
    adc.dll     $(_FLATRELEASEDIR)\adc.dll          NK  SHK
    adcsdk.dll  $(_FLATRELEASEDIR)\adcsdk.dll       NK  SHQ
ENDIF ;BSP_ADC
;----------------------------------------------------------------------------

;----------------------------------------------------------------------------
; GPIO Driver
;
IF BSP_GPIO
    gpio.dll     $(_FLATRELEASEDIR)\gpio.dll          NK  SHK
    gpiosdk.dll  $(_FLATRELEASEDIR)\gpiosdk.dll       NK  SHQ
ENDIF ;BSP_GPIO
;----------------------------------------------------------------------------


;----------------------------------------------------------------------------
; Display Driver
;
; @CESYSGEN IF CE_MODULES_DISPLAY
IF BSP_NODISPLAY !
IF BSP_DISPLAY_NOP !
IF BSP_LCD
    lcdc.dll             $(_FLATRELEASEDIR)\lcdc.dll                 NK  SHK
ENDIF ; BSP_LCD
IF BSP_LCD_AUTODETECT
    lcdad.dll            $(_FLATRELEASEDIR)\lcdad.dll                NK  SHK
ENDIF ; BSP_LCD_AUTODETECT
ENDIF ; BSP_DISPLAY_NOP !
ENDIF ; BSP_NODISPLAY !
; @CESYSGEN ENDIF CE_MODULES_DISPLAY
;----------------------------------------------------------------------------

;------------------------------------------------------------------------------
; Keypad driver
;
; @CESYSGEN IF CE_MODULES_KEYBD
IF BSP_NOKEYPAD!
IF BSP_KEYPAD
    KbdUs.dll    $(_FLATRELEASEDIR)\KbdUs.dll                    NK  SHK
ENDIF ; BSP_KEYPAD
ENDIF ; BSP_NOKEYPAD!
; @CESYSGEN ENDIF CE_MODULES_KEYBD
;------------------------------------------------------------------------------

; -----------------------------------------------------------------------------
; @CESYSGEN IF CE_MODULES_KEYBD || CE_MODULES_POINTER
; @CESYSGEN IF CE_MODULES_NOPKEYBOARD
#if ! (defined BSP_NOKEYBD && defined BSP_NOMOUSE)
IF LOCALE=0411 !
IF LOCALE=0412 !
    kbdmouse.dll           $(_FLATRELEASEDIR)\KbdNopUs.dll          NK  SHK
ENDIF LOCALE=0412 !
ENDIF LOCALE=0411 !

IF LOCALE=0411
IF BSP_KEYBD_JPN1
    kbdmouse.dll           $(_FLATRELEASEDIR)\KbdNopJpn1.dll        NK  SHK
ENDIF BSP_KEYBD_JPN1

IF BSP_KEYBD_JPN1 !
    kbdmouse.dll           $(_FLATRELEASEDIR)\KbdNopJpn2.dll        NK  SHK
ENDIF BSP_KEYBD_JPN1
ENDIF LOCALE=0411

IF LOCALE=0412
    kbdmouse.dll           $(_FLATRELEASEDIR)\KbdNopKor.dll         NK  SHK
ENDIF LOCALE=0412
#endif ; ! (defined BSP_NOKEYBD && defined BSP_NOMOUSE)
; @CESYSGEN ENDIF CE_MODULES_NOPKEYBOARD
; @CESYSGEN ENDIF CE_MODULES_KEYBD || CE_MODULES_POINTER
; -----------------------------------------------------------------------------

;------------------------------------------------------------------------------
; SERIAL Driver
;
; @CESYSGEN IF CE_MODULES_SERIAL
#if (defined BSP_SERIAL_UART1 || defined BSP_SERIAL_UART2 || defined BSP_SERIAL_UART3 || defined BSP_SERIAL_UART4 || defined BSP_SERIAL_UART5)
    csp_serial.dll      $(_FLATRELEASEDIR)\csp_serial.dll           NK  SHK
#endif
; @CESYSGEN ENDIF CE_MODULES_SERIAL
;------------------------------------------------------------------------------

; -----------------------------------------------------------------------------
; Backlight
;
; @CESYSGEN IF CE_MODULES_BATTDRVR
IF BSP_BACKLIGHT
    backlight.dll        $(_FLATRELEASEDIR)\lcdcbacklight.dll           NK  SHK
; @CESYSGEN IF CE_MODULES_COMMCTRL
; Backlight advanced Control Panel Applet
    AdvBacklight.dll    $(_FLATRELEASEDIR)\AdvBacklight.dll         NK  S
; @CESYSGEN ENDIF CE_MODULES_COMMCTRL
ENDIF ;BSP_BACKLIGHT
; @CESYSGEN ENDIF CE_MODULES_BATTDRVR
;-------------------------------------------------------------------------------

;-------------------------------------------------------------------------------
; DVFC Driver
;
IF BSP_DVFC
IF BSP_I2CBUS1
    dvfc_MC34704.dll    $(_FLATRELEASEDIR)\dvfc_MC34704.dll                     NK  SHK 
ENDIF ;BSP_I2CBUS1  
ENDIF ;BSP_DVFC
;-------------------------------------------------------------------------------

;-----------------------------------------------------------------------------------
; Power Button
;
IF BSP_PWRBTN
    pwrbtn.dll              $(_FLATRELEASEDIR)\pwrbtn.dll               NK  SHK
ENDIF ;BSP_PWRBTN
;-----------------------------------------------------------------------------------

;-----------------------------------------------------------------------------
; SD Driver
;
; @CESYSGEN IF CE_MODULES_SDBUS
#if (defined BSP_ESDHC1 || defined BSP_ESDHC2)
    esdhc.dll       $(_FLATRELEASEDIR)\esdhc.dll            NK  SHK
#endif
; @CESYSGEN ENDIF CE_MODULES_SDBUS
;----------------------------------------------------------------------------

; -----------------------------------------------------------------------------
; USB OTG Function Driver
;
; @CESYSGEN IF CE_MODULES_USBFN
IF BSP_USB_HSOTG_CLIENT
    usbfn.dll $(_FLATRELEASEDIR)\usbfn.dll                          NK SHK
ENDIF ; BSP_USB_HSOTG_CLIENT
; @CESYSGEN ENDIF CE_MODULES_USBFN
; -----------------------------------------------------------------------------

; -----------------------------------------------------------------------------
; USB OTG Transceiver Driver
;
; @CESYSGEN IF CE_MODULES_USBHOST && CE_MODULES_USBFN
IF BSP_USB_HSOTG_XVC
    imx_xvc.dll $(_FLATRELEASEDIR)\imx_xvc.dll                      NK SHK
ENDIF ; BSP_USB_HSOTG_XVC
; @CESYSGEN ENDIF CE_MODULES_USBHOST && CE_MODULES_USBFN
; -----------------------------------------------------------------------------

; -----------------------------------------------------------------------------
; USB OTG Host Driver
;
; @CESYSGEN IF CE_MODULES_USBHOST
IF BSP_USB_HSOTG_HOST
    hcd_hsotg.dll $(_FLATRELEASEDIR)\hcd_hsotg.dll                  NK SHK
ENDIF ; BSP_USB_HSOTG_HOST
; @CESYSGEN ENDIF CE_MODULES_USBHOST
; -----------------------------------------------------------------------------

; -----------------------------------------------------------------------------
; USB H2 Host Driver
;
; @CESYSGEN IF CE_MODULES_USBHOST
IF BSP_USB_HSH2
    hcd_hsh2.dll $(_FLATRELEASEDIR)\hcd_hsh2.dll                    NK SHK
ENDIF ; BSP_USB_HSH2
; @CESYSGEN ENDIF CE_MODULES_USBHOST
; -----------------------------------------------------------------------------

;----------------------------------------------------------------------------
; Touch panel driver
;
; @CESYSGEN IF CE_MODULES_POINTER
IF BSP_TOUCH
IF BSP_ADC
    touch.dll           $(_FLATRELEASEDIR)\touch.dll                NK  SHK
ENDIF ;BSP_ADC
ENDIF ;BSP_TOUCH
; @CESYSGEN ENDIF CE_MODULES_POINTER
;----------------------------------------------------------------------------

;-----------------------------------------------------------------------------------
; CSPI Driver
;
#if (defined BSP_CSPIBUS1 || defined BSP_CSPIBUS2 || defined BSP_CSPIBUS3)
    cspi.dll    $(_FLATRELEASEDIR)\cspi.dll                         NK  SHK 
    spisdk.dll  $(_FLATRELEASEDIR)\spisdk.dll                       NK  SHQ 
#endif
;-----------------------------------------------------------------------------------

;-----------------------------------------------------------------------------------
; Audio SGTL5000 Driver
;
; @CESYSGEN IF CE_MODULES_WAVEAPI
IF BSP_AUDIOSGTL
IF BSP_I2CBUS1
    wavedev2_sgtl5000.dll   $(_FLATRELEASEDIR)\wavedev2_sgtl5000.dll            NK  SHK 
ENDIF ;BSP_I2CBUS1
ENDIF ;BSP_AUDIOSGTL
; @CESYSGEN ENDIF CE_MODULES_WAVEAPI
;-----------------------------------------------------------------------------------

;-----------------------------------------------------------------------------------
; Audio ESAI Driver
;
; @CESYSGEN IF CE_MODULES_WAVEAPI
IF BSP_NOESAI!
IF BSP_ESAI
IF BSP_CSPIBUS
IF BSP_I2CBUS1
    esai_wm8580.dll     $(_FLATRELEASEDIR)\esai_wm8580.dll          NK  SHK 
ENDIF ;BSP_I2CBUS1
ENDIF ;BSP_CSPIBUS
ENDIF ;BSP_ESAI
ENDIF ;BSP_NOESAI!
; @CESYSGEN ENDIF CE_MODULES_WAVEAPI 
;-----------------------------------------------------------------------------------


;-----------------------------------------------------------------------------------
; SIM driver
;
; @CESYSGEN IF CE_MODULES_SCARD
#if (defined BSP_SMARTCARD_SIM1 || defined BSP_SMARTCARD_SIM2)
    sim.dll         $(_FLATRELEASEDIR)\sim.dll                      NK  SHK
#endif
; @CESYSGEN ENDIF CE_MODULES_SCARD 
;-----------------------------------------------------------------------------------

;-----------------------------------------------------------------------------------
; Fake Battery Driver
;
; @CESYSGEN IF CE_MODULES_BATTDRVR
IF BSP_BATTERY
    battdrvr.dll    $(_FLATRELEASEDIR)\battdrvr.dll         NK  SHK 
ENDIF ;BSP_BATTERY
; @CESYSGEN ENDIF CE_MODULES_BATTDRVR
;-----------------------------------------------------------------------------------

;-----------------------------------------------------------------------------------
; General Purpose Timer
;
#if (defined BSP_GPT1 || defined BSP_GPT2 || defined BSP_GPT3 || defined BSP_GPT4)
    gpt.dll $(_FLATRELEASEDIR)\gpt.dll                              NK  SHK 
#endif
;-----------------------------------------------------------------------------------

;-----------------------------------------------------------------------------------
; Fast Ethernet Controller
;
; @CESYSGEN IF CE_MODULES_NDIS
IF BSP_NOFEC!
IF BSP_FEC
    FEC.dll             $(_FLATRELEASEDIR)\FEC.dll              NK  SHK
ENDIF ;BSP_FEC
ENDIF ;BSP_NOFEC!
; @CESYSGEN ENDIF CE_MODULES_NDIS
;-----------------------------------------------------------------------------------

;-----------------------------------------------------------------------------------
; PWM
;
#if (defined BSP_PWM1 || defined BSP_PWM2 || defined BSP_PWM3 || defined BSP_PWM4)
    pwm.dll             $(_FLATRELEASEDIR)\pwm.dll              NK  SHK
    pwmsdk.dll          $(_FLATRELEASEDIR)\pwmsdk.dll           NK  SHQ
#endif
;-----------------------------------------------------------------------------------

;------------------------------------------------------------------------------
; Nand Flash Driver
;
; @CESYSGEN IF CE_MODULES_FLASHMDD
IF BSP_NANDFMD
    flashpdd_nand.dll       $(_FLATRELEASEDIR)\flashpdd_nand.dll    NK  SHK
ENDIF ; BSP_NANDFMD
; @CESYSGEN ENDIF CE_MODULES_FLASHMDD
;-----------------------------------------------------------------------------------

; -----------------------------------------------------------------------------
; FlexCAN Driver
;
#if (defined BSP_FLEXCAN1 || defined BSP_FLEXCAN2)
    flexcan.dll     $(_FLATRELEASEDIR)\flexcan.dll                     NK  SHK
    flexcansdk.dll  $(_FLATRELEASEDIR)\flexcansdk.dll                  NK  SHQ
#endif
; -----------------------------------------------------------------------------

;------------------------------------------------------------------------------
; WaterMark Driver
;
IF BSP_WATERMARK
    wmd.dll      $(_FLATRELEASEDIR)\wmd.dll           NK  SHK
ENDIF ; BSP_WATERMARK
;------------------------------------------------------------------------------

; @CESYSGEN ENDIF CE_MODULES_DEVICE


FILES
; Name                  Path                                    Memory  Type
; --------------------  --------------------------------------  ------  ----
; @CESYSGEN IF CE_MODULES_POINTER
IF BSP_TOUCH
IF BSP_ADC
  ETCHA.exe             $(_FLATRELEASEDIR)\ETCHA.exe            NK      U
  ETCHA.lnk             $(_FLATRELEASEDIR)\ETCHA.lnk            NK      U
  tcal.exe              $(_FLATRELEASEDIR)\tcal.exe             NK      U
ENDIF ;BSP_ADC
ENDIF ;BSP_TOUCH
; @CESYSGEN ENDIF CE_MODULES_POINTER
 
; @CESYSGEN IF CE_MODULES_USBFN
IF BSP_USB_HSOTG_CLIENT
; @CESYSGEN IF CE_MODULES_USBMSFN
  switchusb2msc.exe     $(_FLATRELEASEDIR)\switchusb2msc.exe    NK      U
; @CESYSGEN ENDIF CE_MODULES_USBMSFN
; @CESYSGEN IF CE_MODULES_RNDISFN
  switchusb2rndis.exe   $(_FLATRELEASEDIR)\switchusb2rndis.exe  NK      U
; @CESYSGEN ENDIF CE_MODULES_RNDISFN
; @CESYSGEN IF CE_MODULES_SERIALUSBFN
  switchusb2serial.exe  $(_FLATRELEASEDIR)\switchusb2serial.exe NK      U
; @CESYSGEN ENDIF CE_MODULES_SERIALUSBFN
ENDIF ; BSP_USB_HSOTG_CLIENT
; @CESYSGEN ENDIF CE_MODULES_USBFN

; @CESYSGEN IF CE_MODULES_SCARD
#if (defined BSP_SMARTCARD_SIM1 || defined BSP_SMARTCARD_SIM2)
  simapp.exe            $(_FLATRELEASEDIR)\simapp.exe           NK      U       
#endif
; @CESYSGEN ENDIF CE_MODULES_SCARD 

; @CESYSGEN IF CE_MODULES_WAVEAPI
IF BSP_ESAI
IF BSP_CSPIBUS
IF BSP_I2CBUS1
  m_player.exe          $(_FLATRELEASEDIR)\m_player.exe         NK      U       
  m_recorder.exe        $(_FLATRELEASEDIR)\m_recorder.exe       NK      U   
ENDIF ;BSP_I2CBUS1
ENDIF ;BSP_CSPIBUS
ENDIF ;BSP_ESAI
; @CESYSGEN ENDIF CE_MODULES_WAVEAPI 

; @CESYSGEN IF CE_MODULES_DISPLAY
IF BSP_NODISPLAY !
IF BSP_LCD
    Topaz800x480.bmp    $(_FLATRELEASEDIR)\Topaz800x480.bmp     NK      U
    Topaz480x272.bmp    $(_FLATRELEASEDIR)\Topaz480x272.bmp     NK      U
ENDIF ; BSP_LCD
ENDIF ; BSP_NODISPLAY !
; @CESYSGEN ENDIF CE_MODULES_DISPLAY  
